package com.bz.xtcx.manager.service;

import com.bz.xtcx.manager.comom.XtcxException;
import com.bz.xtcx.manager.entity.CmsSharePlatform;
import com.bz.xtcx.manager.persist.conditions.SharePlatformCondition;
import com.bz.xtcx.manager.vo.VoResponse;

import javax.servlet.ServletOutputStream;
import java.io.OutputStream;

public interface ICmsSharePlatformService {

    VoResponse add(CmsSharePlatform e) throws XtcxException;

    VoResponse del(Integer id) throws XtcxException;

    VoResponse getSps(SharePlatformCondition queryCondition, int pageNum, int pageSize) throws XtcxException;

    VoResponse getAllSps(SharePlatformCondition queryCondition) throws XtcxException;

    VoResponse update(CmsSharePlatform e) throws XtcxException;

    VoResponse getById(Integer id) throws XtcxException;

    VoResponse export(SharePlatformCondition qc, OutputStream outputStream);
}
